Developer Documentation

QuickTime 4 API Documentation

QuickTime 4 Reference

| Previous | Chapter Contents | Chapter Top | Next |

Initializing the Tween Component

Your tween component must process kTweenerInitializeSelect requests from the Component Manager. Listing 21 shows a function, TweenerInitialize, for processing this request. In this example, the function simply returns. In a more complex example, the function might allocate storage to be used when generating a tween media value.

Listing 21 Function that initializes a tween component

pascal ComponentResult TweenerInitialize (
                                             TweenerComponent tc,
                                             QTAtomContainer container,
                                             QTAtom tweenAtom,
                                             QTAtom dataAtom)
{
    return noErr;
}

© 1999 Apple Computer, Inc.

| Previous | Chapter Contents | Chapter Top | Next |